// { "framework": "Vue"} 

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 475);
/******/ })
/************************************************************************/
/******/ ({

/***/ 288:
/***/ (function(module, exports) {

module.exports = {
  "page-loading": {
    "position": "absolute",
    "top": 0,
    "right": 0,
    "bottom": 0,
    "left": 0,
    "justifyContent": "center",
    "alignItems": "center",
    "backgroundColor": "#F5F5F5"
  },
  "text-tip": {
    "color": "#8c8c8c",
    "fontSize": "28"
  },
  "loading-img": {
    "width": "100",
    "height": "100"
  },
  "loading-icon": {
    "width": "60",
    "height": "60",
    "backgroundColor": "#dfdfdf",
    "borderRadius": "5",
    "borderStyle": "solid",
    "borderWidth": "1",
    "borderColor": "#d6d6d6"
  }
}

/***/ }),

/***/ 289:
/***/ (function(module, exports, __webpack_require__) {

"use strict";


//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


var animation = weex.requireModule('animation');

module.exports = {
  props: {
    loaded: { default: false }
  },

  data: function data() {
    return {
      hidden: false,
      rotateX: 0,
      rotateY: 0
    };
  },

  components: {},
  mounted: function mounted() {
    var _this = this;

    this.step(0);
    this.$watch('loaded', function (newVal, oldVal) {
      newVal && _this.hide();
    });
  },

  methods: {
    hide: function hide() {
      var _this2 = this;

      animation.transition(this.$refs.pageLoadingPanel, {
        styles: {
          opacity: 0
        },
        timingFunction: 'ease',
        duration: 200, // ms
        delay: 0 // ms
      }, function () {
        _this2.hidden = true;
      });
    },
    step: function step(i) {
      var _this3 = this;

      this.rotateX = parseInt((i + 1) / 2) * 180;
      this.rotateY = parseInt(i / 2) * 180;
      // let modal = weex.requireModule('modal')
      // modal.toast({message: JSON.stringify(i + ' ' + this.rotateX + ' ' + this.rotateY)})
      if (this.loaded) {
        this.hide();
        return;
      }
      if (this.hidden) {
        return;
      }
      animation.transition(this.$refs.loadingIcon, {
        styles: {
          transform: 'perspective(120px) rotateX(' + this.rotateX + 'deg) rotateY(' + this.rotateY + 'deg)'
        },
        duration: 600, // ms
        delay: 0 // ms
      }, function () {
        _this3.step(i + 1);
      });
    }
  }
};

/***/ }),

/***/ 290:
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (!_vm.hidden) ? _c('div', {
    ref: "pageLoadingPanel",
    staticClass: ["page-loading"]
  }, [_c('div', {
    ref: "loadingIcon",
    staticClass: ["loading-icon"]
  })]) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),

/***/ 475:
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(288)
)

/* script */
__vue_exports__ = __webpack_require__(289)

/* template */
var __vue_template__ = __webpack_require__(290)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/lvling/workspace/米乐购/laxiaoke-app-mz/src/components/page-loading.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1601a945"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__
module.exports.el = 'true'
new Vue(module.exports)


/***/ })

/******/ });